<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core" 
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:p="http://primefaces.org/ui" 
      >
<h:body>
<ui:composition template="/pages/template.xhtml">
	<ui:define name="conteudo">
		<!-- Div para recuperar senha do usuario no sistema -->
		<div id="recuperaSenha">
			<h:form id="recuperaSenha_form">
			  <p:panel header="Recuperar senha">	
				<p:messages id="message_recuperar" />
				<h:panelGrid columns="2" id="recuperar">
					<p:outputLabel value="Email cadastrado:" for="email"/>
					<p:inputText value="#{loginBean.email}" id="email" required="true" requiredMessage="O campo email é obrigatório." >
			    	</p:inputText>
					<p:commandButton value="Recuperar" action="#{loginBean.recuperarSenha}"  update="recuperaSenha_form"/>
					<h:outputText>&nbsp;</h:outputText>
				</h:panelGrid>							
			  </p:panel>
			</h:form>
		</div>
	</ui:define>	
	</ui:composition>
</h:body>
</html>